<?php


$arrayOrdenar = array("Aurora","Rodrigo","Fujioka","Ana Karla");

print_r($arrayOrdenar);
 
//Odem descrescente
arsort($arrayOrdenar);
print_r($arrayOrdenar);

//Odem descrescente
asort($arrayOrdenar);
print_r($arrayOrdenar);


print_r(array_keys($arrayOrdenar));

print(array_key_exists(5,$arrayOrdenar));
$nomesString = implode("-",$arrayOrdenar);


print $nomesString;
$nomesArray = explode("-",$nomesString);

echo "\n####\n";
print_r($nomesArray);

?>